<script type="text/javascript">
    $("#rem").ready(function(){
        $("#rem").ajaxForm(function(re)
        {   
            if(re==-1)
            {
                alert('VMI sku与供应商信息不对应，或供应商不存在')
            }else{
              alert('修改成功');
　　　　　　　window.location.reload();
            }
        });
    });
</script>
<form action="<?php echo url::base(true)?>unqualified/change_supplier" method="post" id="rem">
    <label>不良品号</label>
    <input type="text" name="id" value="<?php echo isset($un_id)?$un_id:'';?>" readonly="readonly">
    <input type="hidden" name="sku" value="<?php echo isset($sku)?$sku:'';?>" >
    <label>备注:</label>
    <input type="text" name="su_name" placeholder="请输入供应商名称全名"/>
    <input type="submit" value="修改" class="btn btn-info">
</form>